<local:DocumentBase x:Class="WPFExcelReport.ITXTTF"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                        xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core"
                        xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
                         xmlns:db="clr-namespace:INTEX.DataBase" 
                        Loaded="Window_Loaded" 
                        FontSize="16" 
                        Background="White"                         
                        HorizontalAlignment="Stretch"
                        Margin="0,0,0,0" 
                        VerticalAlignment="Stretch"
                    >
    <local:DocumentBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:String2ColorConverter  x:Key="str2color"/>
    </local:DocumentBase.Resources>
    <Grid>
        <StackPanel>
            <WrapPanel Margin="10">
                <Button  Name="btnFile" Content="{Binding Source={Localization:Translate Word=文件}}" HorizontalAlignment="Left"  VerticalAlignment="Top" Width="75" Click="btnFile_Click"/>
                <TextBlock>生成WBD10IT.PRN文件,用于标准打印</TextBlock>
            </WrapPanel>
            <WrapPanel Margin="0,20,0,0">
                <TextBlock>文件名</TextBlock>
                <TextBox Width="200" Name="txtFile">C:\Argox\WBD10IT.PRN</TextBox>
            </WrapPanel>
            <WrapPanel Margin="10">
                <Button  Name="btnPrinter" Content="{Binding Source={Localization:Translate Word=打印机}}" HorizontalAlignment="Left"  VerticalAlignment="Top" Width="75" Click="btnPrinter_Click"/>
                <TextBlock>产生和WBD10IT.PRN相同的文件，并发送给打印机</TextBlock>
            </WrapPanel>
            <WrapPanel>
                <TextBlock>打印机</TextBlock>
                <TextBox Name="txtPrinter" Width="200" Text="\\192.168.1.156\TERM156"></TextBox>
            </WrapPanel>
            <WrapPanel Margin="10">
                <Button  Name="btnTranslate" Content="{Binding Source={Localization:Translate Word=转义}}" HorizontalAlignment="Left"  VerticalAlignment="Top" Width="75" Click="btnTranslate_Click"/>
                <TextBlock>将文件SUNLV翻译并发送给给打印机</TextBlock>
            </WrapPanel>
            <WrapPanel Margin="0,20,0,0">
                <TextBlock>文件名</TextBlock>
                <TextBox Width="200" Name="txtTFile">C:\Argox\INTEXOUT</TextBox>
            </WrapPanel>
            <WrapPanel>
                <TextBlock>份数</TextBlock>
                <TextBox Name="txtCopy" Margin="10,0,0,0" Width="40" Text="1"/>
            </WrapPanel>
            <TextBox Name="txtLog" Height="200"></TextBox>
        </StackPanel>
    </Grid>


</local:DocumentBase>
